<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>GrPPI: fastflow_allocator.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GrPPI
   &#160;<span id="projectnumber">0.3.1</span>
   </div>
   <div id="projectbrief">Generic and Reusable Parallel Pattern Interface</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_8fe860fea3f22bf52ea313aa42254690.html">ff</a></li><li class="navelem"><a class="el" href="dir_e3f2dcc09f9eddb6c51a92ee16dc93ad.html">detail</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">fastflow_allocator.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;ff/allocator.hpp&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for fastflow_allocator.h:</div>
<div class="dyncontent">
<div class="center"><img src="fastflow__allocator_8h__incl.png" border="0" usemap="#fastflow__allocator_8h" alt=""/></div>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="fastflow__allocator_8h__dep__incl.png" border="0" usemap="#fastflow__allocator_8hdep" alt=""/></div>
<map name="fastflow__allocator_8hdep" id="fastflow__allocator_8hdep">
<area shape="rect" id="node2" href="filter__nodes_8h.html" title="filter_nodes.h" alt="" coords="219,80,319,107"/>
<area shape="rect" id="node5" href="reduce__nodes_8h.html" title="reduce_nodes.h" alt="" coords="405,80,520,107"/>
<area shape="rect" id="node8" href="simple__node_8h.html" title="simple_node.h" alt="" coords="544,80,651,107"/>
<area shape="rect" id="node3" href="ordered__stream__filter_8h.html" title="ordered_stream_filter.h" alt="" coords="5,155,160,181"/>
<area shape="rect" id="node4" href="unordered__stream__filter_8h.html" title="unordered_stream_filter.h" alt="" coords="185,155,354,181"/>
<area shape="rect" id="node6" href="ordered__stream__reduce_8h.html" title="ordered_stream_reduce.h" alt="" coords="378,155,547,181"/>
<area shape="rect" id="node7" href="unordered__stream__reduce_8h.html" title="unordered_stream_reduce.h" alt="" coords="571,155,754,181"/>
</map>
</div>
</div>
<p><a href="fastflow__allocator_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgrppi_1_1detail__ff_1_1ff__arena__t.html">grppi::detail_ff::ff_arena_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tag type for fastflow allocation. This empty type is used to select the overloaded placement new and delete operators that invoke the fastflow allocation routines.  <a href="structgrppi_1_1detail__ff_1_1ff__arena__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacegrppi"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrppi.html">grppi</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacegrppi_1_1detail__ff"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrppi_1_1detail__ff.html">grppi::detail_ff</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a71329323816146f385929861c59a5020"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fastflow__allocator_8h.html#a71329323816146f385929861c59a5020">operator new</a> (std::size_t sz, const <a class="el" href="structgrppi_1_1detail__ff_1_1ff__arena__t.html">grppi::detail_ff::ff_arena_t</a> &amp;) noexcept</td></tr>
<tr class="memdesc:a71329323816146f385929861c59a5020"><td class="mdescLeft">&#160;</td><td class="mdescRight">Placement new for the FastFlow arena. Invokes ff_malloc(). Use by calling new (ff_arena) your_type;.  <a href="#a71329323816146f385929861c59a5020">More...</a><br /></td></tr>
<tr class="separator:a71329323816146f385929861c59a5020"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c45ddfac1b2c3f6a241fa4223fa370b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fastflow__allocator_8h.html#a1c45ddfac1b2c3f6a241fa4223fa370b">operator delete</a> (void *ptr, const <a class="el" href="structgrppi_1_1detail__ff_1_1ff__arena__t.html">grppi::detail_ff::ff_arena_t</a> &amp;) noexcept</td></tr>
<tr class="memdesc:a1c45ddfac1b2c3f6a241fa4223fa370b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Placement delete for the FastFlow arena. Invokes ff_free(). Use by calling operator delete(ptr,ff_arena);.  <a href="#a1c45ddfac1b2c3f6a241fa4223fa370b">More...</a><br /></td></tr>
<tr class="separator:a1c45ddfac1b2c3f6a241fa4223fa370b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a962751fa6395ebf8804aaf101910330f"><td class="memItemLeft" align="right" valign="top">constexpr ff_arena_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrppi_1_1detail__ff.html#a962751fa6395ebf8804aaf101910330f">grppi::detail_ff::ff_arena</a></td></tr>
<tr class="memdesc:a962751fa6395ebf8804aaf101910330f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fastflow arena object. This object will be passed to placement new/delete to use FastFlow allocation strategy.  <a href="namespacegrppi_1_1detail__ff.html#a962751fa6395ebf8804aaf101910330f">More...</a><br /></td></tr>
<tr class="separator:a962751fa6395ebf8804aaf101910330f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a1c45ddfac1b2c3f6a241fa4223fa370b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void operator delete </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structgrppi_1_1detail__ff_1_1ff__arena__t.html">grppi::detail_ff::ff_arena_t</a> &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Placement delete for the FastFlow arena. Invokes ff_free(). Use by calling operator delete(ptr,ff_arena);. </p>

</div>
</div>
<a class="anchor" id="a71329323816146f385929861c59a5020"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void* operator new </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>sz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structgrppi_1_1detail__ff_1_1ff__arena__t.html">grppi::detail_ff::ff_arena_t</a> &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Placement new for the FastFlow arena. Invokes ff_malloc(). Use by calling new (ff_arena) your_type;. </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
